﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LeftMenuUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.UserManagement.LeftMenu.LeftMenuUserControl" %>
<script type="text/javascript">
    $(document).ready(function () {
      

        var lbUserMgr = $("#<%=lbUserMgr.ClientID %>");
        lbUserMgr.live('click', function () {
            location.href = "StaffMgr.aspx";
            return false;
        });

        var lbDeptMgr = $("#<%=lbDeptMgr.ClientID %>");
        lbDeptMgr.live('click', function () {
            location.href = "DeptMgr.aspx";
            return false;
        });

        var lbRoleMgr = $("#<%=lbRoleMgr.ClientID %>");
        lbRoleMgr.live('click', function () {
            location.href = "RoleMgr.aspx";
            return false;
        });

        var lbResetPassword = $("#<%=lbResetPassword.ClientID %>");
        lbResetPassword.live('click', function () {
            location.href = "UserPasswordReset.aspx";
            return false;
        });
    
    });
</script>

<div id="divMenu" runat="server">
     <table class="leftmenu" width="98%">
                    <tr>
                        <th class="staraward"  align="left">
                            <img src="/_layouts/JM.JCY.Resource/images/系统小.png" />
                            系统设置
                        </th>
                    </tr>
             
                    <tr>
                        <td>
                               <asp:LinkButton ID="lbUserMgr" runat="server" class="leftmenu" Text="用户管理"
                    OnClientClick="return false;"></asp:LinkButton>
                        </td>
                    </tr>
                 
                    <tr>
                        <td>
                                 <asp:LinkButton ID="lbDeptMgr" runat="server" class="leftmenu" Text="部门管理"
                    OnClientClick="return false;"></asp:LinkButton>
                        </td>
                    </tr>

                         <tr>
                        <td>
                             <asp:LinkButton ID="lbRoleMgr" runat="server" class="leftmenu" Text="权限管理"></asp:LinkButton>
                        </td>
                    </tr>

                           <tr>
                        <td>
                             <asp:LinkButton ID="lbResetPassword" runat="server" class="leftmenu" Text="密码重设"></asp:LinkButton>
                        </td>
                    </tr>
                 
    </table>

</div>
